.mask {
    z-index: 9000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    animation: fade 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.confirm-box {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    height: fit-content;
    left: 50%;
    top: 40%;
    width: 360px;
    z-index: 9001;
    transform: translate(-50%, -50%);
    background-color: $white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
    animation: show 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    .title-box {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 45px;
        background-color: rgba(0, 0, 0, 0.03);
        font-weight: bold;
        font-size: 17px;
        color: $text1;
    }
    .content-box {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 30px 0;
        font-size: 15px;
        color: $text2;
    }
    .options-box {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 45px;
    }
    .option {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.03);
        font-size: 17px;
        cursor: pointer;
        transition: 0.1s;
        &:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }
        &+.option {
            border-left: solid 0.5px rgba(0, 0, 0, 0.05);
        }
        &.option-confirm {
            color: $highlight;
        }
        &.option-cancel {
            color: $text2;
        }
    }
}

@keyframes show {
    from {
        transform: translate(-50%, -50%) translateY(30px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) translateY(0);
        opacity: 1;
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}